const point = {
  x: 1,
  y: 2,
  toString() {
    return `(${this.x}, ${this.y})`;
  },
};
console.log(`${point}`);
